from faker import Faker
import datetime

from robot.api import logger
from robotlibcore import keyword

class DataFaker(object):

    def __init__(self):
        self.f = Faker(locale='zh_CN')
    
    @keyword('Create Order')
    def create_order(self):

        return self.f.name()
    
    